package org.example.primary;

/**
 * @author zhaokuii11@163.com
 * @create 2021-12-06 14:51
 * @Description
 */
public class Department {
    private Integer deptId;
    private String deptName;
    private Manager mgr;

    public Department() {
    }

    public Department(Integer deptId, String deptName) {
        this.deptId = deptId;
        this.deptName = deptName;
    }

    public Department(Integer deptId, String deptName, Manager mgr) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.mgr = mgr;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Manager getMgr() {
        return mgr;
    }

    public void setMgr(Manager mgr) {
        this.mgr = mgr;
    }
}
